<?php

/* 添加奖励内容页面 */
include_once '../common/Template.php';
session_start();
?>
<html>
    <head>
        <meta charset="UTF-8">
        <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js">
        </script>
    </head>
    <body>
        <?php
            if(isset($_SESSION['addResult'])){
                if($_SESSION['addResult']==true){
                    echo '<p>添加成功</p><br />';
                }else{
                    echo '<p>添加失败</p><br />';
                }
                unset($_SESSION['addResult']);
            }
        ?>
        <form action="../../lib/biz/addImpl.php?action=Awards" method="post">
        <center>
        <table>
            <?php
                $temp = new Template();
                if(isset($_SESSION['Awards'])){
                    $temp->awardsTemp($_SESSION['Awards']);
                }else{
                    $temp->awardsTemp();
                }
                unset($_SESSION['Awards']);
            ?>
            <tr>
                <td></td>
                <td><input type="submit" value="添加"/></td>
            </tr>
        </table>
        </center>
    </form>
</body>
</html>
